import json

update_inf_script={
    "pack_url":"下载链接",
    "list_type":"expect", # order 指定文件 expect反向选择
    "update_list":[
        ["wallpaper","char","FFmpeg","plug","update","wpp_vid_play.txt","wpp_logo.png","start_run.key","favicon.ico","cookies.pkl","everyDay_play.txt"],
    ]
}
update_inf_exe_pack={
    "pack_url":"下载链接",
    "exe_url":"下载链接",
    "list_type":"expect",
    "update_list":[
        ["main_ui.html","1-main_ui.html"],
        ["要更新的文件的路径","在pack包里的路径"]
    ]
}
update_inf_exe={
    "exe_url":"下载链接"
}

data = {
    "v":"1.0.0",
    "update_time":"2024-07-29",
    "update_type":"res",#【res】 css,js,html脚本或资源包更新 【exe_pack】下载update_pack和更新程序并运行更新程序 【exe】下载更新程序并运行
    "update_inf":update_inf_script
}
with open("date_inf_out.json","w")as f:
    json.dump(data,f)